package cn.test.mapper;

import cn.test.pojo.domain.StockBlockDomain;
import cn.test.pojo.entity.StockBlockRtInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author 24107
 * @description 针对表【stock_block_rt_info(股票板块详情信息表)】的数据库操作Mapper
 * @createDate 2024-10-16 20:32:08
 * @Entity cn.test.pojo.entity.StockBlockRtInfo
 */
public interface StockBlockRtInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockBlockRtInfo record);

    int insertSelective(StockBlockRtInfo record);

    StockBlockRtInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockBlockRtInfo record);

    int updateByPrimaryKey(StockBlockRtInfo record);

    /**
     * 获取板块信息
     *
     * @param timePoint
     * @return
     */
    List<StockBlockDomain> sectorAllLimit10(@Param("timePoint") Date timePoint);
}
